<template>
  <div>
    <h3>{{ msg }}</h3>
    <input type="text" v-model="msg" />
    <br /><br />
    <h1>{{ info }}</h1>
    <input type="text" v-model.lazy="info" />
    <button @click="fn">点击</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      msg: '张三',
      adf: '',
      info: '',
    }
  },
  methods: {
    fn() {
      console.log(this.info)
    },
    // change() {
    //   console.log('change触发')
    // },
  },
}
</script>

<style></style>
